package cn.edu.nju.software.zp13.client.assignment9UsingJAXB.assignment3Refactoring.bean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name="department")
public class Department {
	@XmlElement(namespace="http://www.nju.edu.cn/schema")
	private String id;
	@XmlElement(namespace="http://www.nju.edu.cn/schema")
	private String name;

	public Department() {

	}

	public Department(String id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
